projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cc8a89
)
(wait_reading_process_input): Check connect_wait_mask
author
Kim F. Storm
<storm@cua.dk>
Tue, 25 May 2004 11:17:43 +0000
(11:17 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Tue, 25 May 2004 11:17:43 +0000
(11:17 +0000)
before actually accepting connection in case it has already been
accepted due to recursion.
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index 463d56ffb3d43194bffefa6d7a1e12a2f39f835a..82f61ffdfb2853693105f842bebaa36c25c054f7 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-4581,7
+4581,8
@@
wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
}
}
#ifdef NON_BLOCKING_CONNECT
- if (check_connect && FD_ISSET (channel, &Connecting))
+ if (check_connect && FD_ISSET (channel, &Connecting)
+ && FD_ISSET (channel, &connect_wait_mask))
{
struct Lisp_Process *p;